//
//  ViewController.m
//  UI_06_封装轮播图
//
//  Created by li cheng on 16/7/21.
//  Copyright © 2016年 li cheng. All rights reserved.
//

#import "ViewController.h"
#import "LCCycleImageView.h"
#define kScreenBounds [UIScreen mainScreen].bounds
#define kScreenBoundsWidth kScreenBounds.size.width
#define kScreenBoundsHeight kScreenBounds.size.height
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    NSArray *array = @[@"0", @"1", @"2", @"3", @"4"];
    LCCycleImageView *cycle = [[LCCycleImageView alloc] initWithFrame:CGRectMake(10, 10,kScreenBoundsWidth, 100)];
//    cycle.cycleScrollView.showsHorizontalScrollIndicator = YES;
    [cycle setImagesWithArray:array];
    [self.view addSubview:cycle];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
